<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><% model(2); %></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="general.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		load_body();
	});
</script>
</head>
<body>
<form method="get" name="form" id="form" action="apply.cgi">
<input type="hidden" name="current_page" value="urlfilter.asp" />
<input type="hidden" name="next_page" value="saverestart.asp" />
<input type="hidden" name="next_host" value="" />
<input type="hidden" name="group_id" value="" />
<input type="hidden" name="modified" value="0" />
<input type="hidden" name="action_mode" value="" />
<input type="hidden" name="first_time" value="" />
<input type="hidden" name="action_script" value="" />

<table width="666" border="0" cellpadding="0" cellspacing="0">     	      
<tr>
<td>
<table width="666" border="1" cellpadding="0" cellspacing="0" bordercolor="#E0E0E0">
<tr class="content_header_tr">
<td class="content_header_td_title" colspan="2">Internet Firewall -  URL Filter</td>
</tr>
<tr>
<td class="content_desc_td" colspan="2">URL Filter allows you to block specific URL access from your local network.
         </td>
</tr>
<tr>
<td class="content_header_td">Enable URL Filter?
           </td><td class="content_input_td"><input type="radio" value="1" name="url_enable_x" class="content_input_fd" onClick="return change_common_radio(this, 'FirewallConfig', 'url_enable_x', '1')" <% nvram_match("url_enable_x", "1", "checked"); %>>Yes</input><input type="radio" value="0" name="url_enable_x" class="content_input_fd" onClick="return change_common_radio(this, 'FirewallConfig', 'url_enable_x', '0')" <% nvram_match("url_enable_x", "0", "checked"); %>>No</input></td>
</tr>
<tr>
<td class="content_header_td" title="This field defines the dates that URL filter will be enabled.">Date to Enable URL Filter:
           </td><td class="content_input_td"><input type="hidden" maxlength="7" class="content_input_fd" size="7" name="url_date_x" value="<% nvram_get("url_date_x"); %>" />
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">
<input type="checkbox" class="content_input_fd" name="url_date_x_Sun">Sun</input><input type="checkbox" class="content_input_fd" name="url_date_x_Mon">Mon</input><input type="checkbox" class="content_input_fd" name="url_date_x_Tue">Tue</input><input type="checkbox" class="content_input_fd" name="url_date_x_Wed">Wed</input>
</p>
<input type="checkbox" class="content_input_fd" name="url_date_x_Thu">Thu</input><input type="checkbox" class="content_input_fd" name="url_date_x_Fri">Fri</input><input type="checkbox" class="content_input_fd" name="url_date_x_Sat">Sat</input></td>
</tr>
<tr>
<td class="content_header_td" title="This field defines the time interval that URL filter will be enabled.">Time of Day to Enable URL Filter:
           </td><td class="content_input_td"><input type="hidden" maxlength="11" class="content_input_fd" size="11" name="url_time_x" value="<% nvram_get("url_time_x"); %>" /><input type="text" maxlength="2" class="content_input_fd" size="2" name="url_time_x_starthour" onKeyPress="return is_number(event, this)" onBlur="return validate_timerange(this, 0)" />:
                <input type="text" maxlength="2" class="content_input_fd" size="2" name="url_time_x_startmin" onKeyPress="return is_number(event, this)" onBlur="return validate_timerange(this, 1)" />-
                <input type="text" maxlength="2" class="content_input_fd" size="2" name="url_time_x_endhour" onKeyPress="return is_number(event, this)" onBlur="return validate_timerange(this, 2)" />:
                <input type="text" maxlength="2" class="content_input_fd" size="2" name="url_time_x_endmin" onKeyPress="return is_number(event, this)" onBlur="return validate_timerange(this, 3)" /></td>
</tr>
</table>
</td>
</tr>

<tr>
<td>
<table width="666" border="2" cellpadding="0" cellspacing="0" bordercolor="#E0E0E0">
<tr class="content_list_header_tr">
<td class="content_list_header_td" width="60%" id="UrlList">URL Keyword List
         <input type="hidden" name="url_num_x_0" value="<% nvram_get("url_num_x"); %>" readonly /></td><td width="10%">
<div align="center">
<input class="inputSubmit" type="submit" onClick="return markGroup(this, 'UrlList', 128, ' Add ');" name="UrlList" value="Add" size="12">
</div>
</td><td width="10%">
<div align="center">
<input class="inputSubmit" type="submit" onClick="return markGroup(this, 'UrlList', 128, ' Del ');" name="UrlList" value="Del" size="12">
</div>
</td><td width="5%"></td>
</tr>
<table class="content_list_table" width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" height="10"></td>
</tr>
<tr>
<td colspan="3">
<div align="center">
<table class="content_list_value_table" border="1" cellspacing="0" cellpadding="0">
<tr>
<td></td><td class="content_list_field_header_td" colspan="">URL Keywords	                
           	        </td><td></td>
</tr>
<tr>
<td></td><td class="content_list_input_td" colspan=""><input type="text" maxlength="32" size="36" name="url_keyword_x_0" class="content_input_list_fd" onKeyPress="return is_string(event, this)" /></td>
</tr>
<tr>
<td></td><td colspan="10"><select size="8" name="UrlList_s" multiple="true" class="content_list_body">
<% nvram_get_table("UrlList"); %>
</select></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="3" height="10"></td>
</tr>
</table>
</table>
</td>
</tr>
</table>

<% include("footer_buttons.inc"); %>

</form>
</body>
</html>
